package com.hao.netty.chapter07;

import lombok.Getter;
import lombok.Setter;
import org.msgpack.annotation.Message;

/**
 * @Description //TODO
 * @Date 2020/1/12
 * @Author songhao
 **/
@Setter
@Getter
@Message
public class UserInfo {

    private int age;
    private String name;

    @Override
    public String toString() {
        return "name => " + name + ",age => " + age;
    }
}
